package com.dx.financehy.modules.schedule.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dx.financehy.base.CommonEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: huang_jigao
 * @Title: Business
 * @ProjectName: financehy
 * @Description:
 * @date: 2024-05-13 17:28
 */
@ApiModel(description = "待办事项表")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_schedule")
public class Schedule extends CommonEntity<Schedule> implements Serializable {

    @ApiModelProperty("id主键")
    private String id;

    @ApiModelProperty("待办事项")
    private String msgText;

    /**
     * 删除标志：0-正常，1-删除
     */
    @JsonIgnore
    @TableField(fill= FieldFill.INSERT)
    private Boolean deleted;
}
